package com.example.springcloud.dao;

import com.example.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author chensixiang chensixiang1234@gmail.com
 */
@Mapper
public interface PaymentDao {
    int save(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
